package ooday04;

public class AnonInnerClassDemo {
    public static void main(String[] args) {
        Inter o1 = new Inter(){

        };
        InterInter o2 = new InterInter(){
            public void show(){
                System.out.println("showshow");
            }
        };
        o2.show();
        InterInter o3 = ()-> System.out.println();

    }
}

interface Inter{

}

interface InterInter{
    void show();
}
